import React from 'react'
import { Button, Form, Input } from 'antd';
function Ss({search }) {
    const onFinish=(values)=>{
        search(values)
    }
    return (
        <div>
            <Form
               
                name="basic"
                labelCol={{ span: 8 }}
                wrapperCol={{ span: 16 }}
                style={{ maxWidth: 600 }}
                initialValues={{ remember: true }}
                onFinish={onFinish}

            >
                <Form.Item
                    label="姓名"
                    name="name"
                   
                >
                    <Input />
                </Form.Item>

                <Form.Item
                    label="职位"
                    name="job"
                   
                >
                    <Input />
                </Form.Item>


                <Form.Item label={null}>
                    <Button type="primary" htmlType="submit">
                        提交
                    </Button>
                </Form.Item>
            </Form>
        </div>
    )
}

export default Ss
